STEP 13: We will use a collision event to detect when the spaceship touches a UFO or astronaut!
- Change the name at the front of the the event handler to spaceship.
INSIDE the collision event, sprite refers to the sprite assigned in the event handler. In this program, spaceship.
INSIDE the collision event hit_sprite refers to any object the sprite collides with. In this program, astro or ufo!
To navigate the page using the TAB key, first press ESC to exit the code editor.